/*
* webStorm 配置文件；
* 使用方法： File | Settings | Languages & Frameworks | JavaScript | Webpack
* 选择 该配置文件，
* */

'use strict';
const path = require('path');

function resolve (dir) {
    return path.join(__dirname, dir)
}

module.exports = {
    context: path.resolve(__dirname, './'),
    resolve: {
        extensions: ['.js', '.vue', '.json', '.css'],
        alias: {
            '@': resolve('src'),
            '@img': resolve('src/assets/image')
        }
    }
};
